package com.jdrx.sw.sewage.beans.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "DevStorageInfoVO", description = "资产入库设备详情")
public class DevStorageInfoVO {

    @ApiModelProperty(value = "入库设备id")
    private Long id;

    @ApiModelProperty(value = "领用设备id")
    private Long devId;

    @ApiModelProperty(value = "入库设备大类")
    private Long storageTypeId;

    @ApiModelProperty(value = "设备照片")
    private String attach;

    @ApiModelProperty(value = "设备品类名称")
    private String categoryName;

    @ApiModelProperty(value = "设备编号")
    private String deviceNum;

    @ApiModelProperty(value = "设备SN号")
    private String snNum;

    @ApiModelProperty(value = "物料名称")
    private String materielName;

    @ApiModelProperty(value = "设备规格")
    private String dossierSpec;

    @ApiModelProperty(value = "生产厂家")
    private String factoryName;

    @ApiModelProperty(value = "维保周期")
    private Integer maintenanceCycleDay;

    @ApiModelProperty(value = "维保周期")
    private Integer maintenanceCycleHour;

    @ApiModelProperty(value = "采购时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date purchaseTime;

    @ApiModelProperty(value = "电子手册")
    private String electronicManual;

    @ApiModelProperty(value = "使用时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date enableTime;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "工艺单元名称")
    private String processunitName;

    @ApiModelProperty(value = "报废时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date scrapTime;

    @ApiModelProperty(value = "库类型（3-使用 2-库存 1-报废）")
    private Integer devType;

    @ApiModelProperty(value = "周期时间")
    private Integer cycleTime;

    @ApiModelProperty(value = "工作时间")
    private Integer workTime;

    @ApiModelProperty(value = "厂区")
    private String factoryPeriod;

    @ApiModelProperty(value = "入库人")
    private String createBy;

    @ApiModelProperty(value = "入库时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createAt;
}